package com.wm.teach;

public class TeacherText {
    public static void main(String[] args) {
        Teacher javaTeacher = new JavaTeacher("张三","男",30,10,"合肥教育中心");
        javaTeacher.showInfo();
        javaTeacher.teaching();
        System.out.println("******************************");
        Teacher netTeacher = new NETTeacher("李四","男",33,13,"合肥教育中心");
        netTeacher.showInfo();
        netTeacher.teaching();
    }
}
